package com.stars.easyms.logger.support.log4j12.handler;

import com.stars.easyms.logger.EasyMsLoggerHandler;
import org.slf4j.Logger;
import org.slf4j.Marker;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;

/**
 * <p>className: EasyMsLog4j12LoggerHandler</p>
 * <p>description: EasyMs自定义日志处理类</p>
 *
 * @author guoguifang
 * @date 2019-08-19 11:49
 * @since 1.3.0
 */
public final class EasyMsLog4j12LoggerHandler implements EasyMsLoggerHandler<String> {

    @Nullable
    @Override
    public String filterAndGetEvent(Logger logger, Marker marker, String levelStr, String msg, Object[] params, Throwable throwable) {
        return null;
    }

    @Override
    public void append(@NonNull String s) {
        throw new UnsupportedOperationException();
    }
}